package com.ktgj.train.service;

import java.util.List;
import com.ktgj.train.domain.TrainOrderPaymentdetail;

/**
 * 订单付款明细Service接口
 * 
 * @author ruoyi
 * @date 2021-11-29
 */
public interface ITrainOrderPaymentdetailService 
{
    /**
     * 查询订单付款明细
     * 
     * @param detailid 订单付款明细ID
     * @return 订单付款明细
     */
    public TrainOrderPaymentdetail selectTrainOrderPaymentdetailById(Long detailid);

    /**
     * 查询订单付款明细列表
     * 
     * @param trainOrderPaymentdetail 订单付款明细
     * @return 订单付款明细集合
     */
    public List<TrainOrderPaymentdetail> selectTrainOrderPaymentdetailList(TrainOrderPaymentdetail trainOrderPaymentdetail);

    /**
     * 新增订单付款明细
     * 
     * @param trainOrderPaymentdetail 订单付款明细
     * @return 结果
     */
    public int insertTrainOrderPaymentdetail(TrainOrderPaymentdetail trainOrderPaymentdetail);

    /**
     * 修改订单付款明细
     * 
     * @param trainOrderPaymentdetail 订单付款明细
     * @return 结果
     */
    public int updateTrainOrderPaymentdetail(TrainOrderPaymentdetail trainOrderPaymentdetail);

    /**
     * 批量删除订单付款明细
     * 
     * @param detailids 需要删除的订单付款明细ID
     * @return 结果
     */
    public int deleteTrainOrderPaymentdetailByIds(Long[] detailids);

    /**
     * 删除订单付款明细信息
     * 
     * @param detailid 订单付款明细ID
     * @return 结果
     */
    public int deleteTrainOrderPaymentdetailById(Long detailid);
}
